package com.example.zhaojianxu.signin.englishgame.main

import android.os.Bundle
import android.view.View
import com.example.zhaojianxu.signin.R
import com.example.zhaojianxu.signin.bean.BaseActivity
import com.example.zhaojianxu.signin.common.info.InfoActivity
import com.example.zhaojianxu.signin.englishgame.recording.RecordActivity
import com.example.zhaojianxu.signin.englishgame.start.StartActivity
import kotlinx.android.synthetic.main.activity_english_game.*
import kotlinx.android.synthetic.main.common_title_bar.*

class EnglishGameActivity : BaseActivity() {

    override fun initView() {

        common_back.visibility = View.GONE
        common_setting.visibility = View.GONE

        activity_english_game_1.setOnClickListener {
            toOtherActivity(StartActivity::class.java)
        }

        activity_english_game_2.setOnClickListener {
            toOtherActivity(RecordActivity::class.java)
        }

        activity_english_game_3.setOnClickListener {
            toOtherActivity(InfoActivity::class.java)
        }
    }

    override fun initData() {
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_english_game)
    }
}
